var SampleApp = SampleApp || { };

SampleApp.contact = function(args) {

	// private variables
	var that = {}, 
		firstName = args.firstName, 
		lastName = args.lastName,
		contactfocus = args.focus,
		bio = args.bio,
		twitterUrl = args.twitter,
		facebookUrl = args.facebook,
		linkedInUrl = args.linkedIn,
		googlePlusUrl = args.googlePlus,
		blogUrl = args.blog,
		imageLocation = args.imageLoc;
		
	// accessors
	function getFirstName() {
		return firstName;
	}
	that.getFirstName = getFirstName;
	
	function getLastName() {
		return lastName;
	}
	that.getLastName = getLastName;
	
	// functions
	function getFullName() {
		return firstName + ' ' + lastName;
	}
	that.getFullName = getFullName;
	
	function getFocus() {
		return contactfocus;
	}
	that.getFocus = getFocus;
	
	function getBio() {
		return bio;
	}
	that.getBio = getBio;
	
	function getTwitterUrl() {
		return twitterUrl;
	}
	that.getTwitterUrl = getTwitterUrl;
	
	function getFacebookUrl() {
		return facebookUrl;
	}
	that.getFacebookUrl = getFacebookUrl;
	
	function getLinkedInUrl() {
		return linkedInUrl;
	}
	that.getLinkedInUrl = getLinkedInUrl;
	
	function getBlogUrl() {
		return blogUrl;
	}
	that.getBlogUrl = getBlogUrl;
	
	function getImageLocation() {
		return imageLocation;
	}
	that.getImageLocation = getImageLocation;
	
	// return the contact object
	return that;
};


